package com.common.www.repository.programme;

import org.springframework.boot.base.jpa.repository.support.ExtendedRepository;
import com.common.www.bean.entity.programme.BasisDemand;
import org.springframework.stereotype.Repository;

@Repository
public interface BasisDemandRepository extends ExtendedRepository<BasisDemand, Long> {

    /**
     * 按项目查询
     * @param flag
     * @param projectId
     * @return
     */
    BasisDemand findByFlagAndProjectId(Integer flag, Long projectId);

}
